<?php /* Smarty version 2.6.18, created on 2010-09-10 14:34:50
         compiled from admin/alumni/member/frm_edit_member.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/alumni/member/frm_edit_member.tpl', 44, false),)), $this); ?>
<h2> Edit Member: </h2>
<form name="frmDoMember" id="frmDoMember" method="" action="" enctype="multipart/form-data" onSubmit="return checkFrmEditMember(this)">
<input type="hidden" name="action" id="action" value="update">
<input type="hidden" name="id" id="id" value="<?php echo $this->_tpl_vars['arrInfoMember']['id']; ?>
">
<table border="1" width="100%" cellpadding="2" cellspacing="1" bgcolor="#F0F0F0">
	<tr>
  	<td align="right" style="vertical-align:top; width:120px;">New Password </td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="password" name="password" size="100" value="" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Full name *</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="full_name" name="full_name" size="100" value="<?php echo $this->_tpl_vars['arrInfoMember']['full_name']; ?>
" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Gender</td>
    <td align="left" style="vertical-align:top">
    	<select name="gender" id="gender" class="select2010_300">
        <option value="0"<?php if ($this->_tpl_vars['arrInfoMember']['gender'] == 0): ?> selected="selected"<?php endif; ?>>Male</option>
          <option value="1"<?php if ($this->_tpl_vars['arrInfoMember']['gender'] == 1): ?> selected="selected"<?php endif; ?>>Female</option>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Intake</td>
    <td align="left" style="vertical-align:top">
    	<select name="intake_id" id="intake_id" class="select2010_300">
      <option value=""> -- Choose -- </option>
      <?php $_from = $this->_tpl_vars['arrIntake']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['nameIntake'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nameIntake']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['keyIntake'] => $this->_tpl_vars['itemIntake']):
        $this->_foreach['nameIntake']['iteration']++;
?>
        <option<?php if ($this->_tpl_vars['arrInfoMember']['intake_id'] == $this->_tpl_vars['itemIntake']['id']): ?> selected="selected"<?php endif; ?> value="<?php echo $this->_tpl_vars['itemIntake']['id']; ?>
">&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['itemIntake']['intake_name']; ?>
</option>
      <?php endforeach; endif; unset($_from); ?>
     </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top; width:80px;">Date of birthday</td>
    <td align="left" style="vertical-align:top">
    	<select name="day_dob" id="day_dob" class="select2010_95">
        <option value="00"> -- Day -- </option>
        <?php unset($this->_sections['foo']);
$this->_sections['foo']['name'] = 'foo';
$this->_sections['foo']['start'] = (int)1;
$this->_sections['foo']['loop'] = is_array($_loop=32) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['foo']['step'] = ((int)1) == 0 ? 1 : (int)1;
$this->_sections['foo']['show'] = true;
$this->_sections['foo']['max'] = $this->_sections['foo']['loop'];
if ($this->_sections['foo']['start'] < 0)
    $this->_sections['foo']['start'] = max($this->_sections['foo']['step'] > 0 ? 0 : -1, $this->_sections['foo']['loop'] + $this->_sections['foo']['start']);
else
    $this->_sections['foo']['start'] = min($this->_sections['foo']['start'], $this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] : $this->_sections['foo']['loop']-1);
if ($this->_sections['foo']['show']) {
    $this->_sections['foo']['total'] = min(ceil(($this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] - $this->_sections['foo']['start'] : $this->_sections['foo']['start']+1)/abs($this->_sections['foo']['step'])), $this->_sections['foo']['max']);
    if ($this->_sections['foo']['total'] == 0)
        $this->_sections['foo']['show'] = false;
} else
    $this->_sections['foo']['total'] = 0;
if ($this->_sections['foo']['show']):

            for ($this->_sections['foo']['index'] = $this->_sections['foo']['start'], $this->_sections['foo']['iteration'] = 1;
                 $this->_sections['foo']['iteration'] <= $this->_sections['foo']['total'];
                 $this->_sections['foo']['index'] += $this->_sections['foo']['step'], $this->_sections['foo']['iteration']++):
$this->_sections['foo']['rownum'] = $this->_sections['foo']['iteration'];
$this->_sections['foo']['index_prev'] = $this->_sections['foo']['index'] - $this->_sections['foo']['step'];
$this->_sections['foo']['index_next'] = $this->_sections['foo']['index'] + $this->_sections['foo']['step'];
$this->_sections['foo']['first']      = ($this->_sections['foo']['iteration'] == 1);
$this->_sections['foo']['last']       = ($this->_sections['foo']['iteration'] == $this->_sections['foo']['total']);
?>
          <option<?php if (((is_array($_tmp=$this->_tpl_vars['arrInfoMember']['dob'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) == $this->_sections['foo']['index']): ?> selected="selected"<?php endif; ?> value="<?php echo $this->_sections['foo']['index']; ?>
">&nbsp;&nbsp;&nbsp;<?php echo $this->_sections['foo']['index']; ?>
</option>
        <?php endfor; endif; ?>  
      </select>
      
      <select name="month_dob" id="month_dob" class="select2010_95">
        <option value="00"> -- Month -- </option>
        <?php unset($this->_sections['foo']);
$this->_sections['foo']['name'] = 'foo';
$this->_sections['foo']['start'] = (int)1;
$this->_sections['foo']['loop'] = is_array($_loop=13) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['foo']['step'] = ((int)1) == 0 ? 1 : (int)1;
$this->_sections['foo']['show'] = true;
$this->_sections['foo']['max'] = $this->_sections['foo']['loop'];
if ($this->_sections['foo']['start'] < 0)
    $this->_sections['foo']['start'] = max($this->_sections['foo']['step'] > 0 ? 0 : -1, $this->_sections['foo']['loop'] + $this->_sections['foo']['start']);
else
    $this->_sections['foo']['start'] = min($this->_sections['foo']['start'], $this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] : $this->_sections['foo']['loop']-1);
if ($this->_sections['foo']['show']) {
    $this->_sections['foo']['total'] = min(ceil(($this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] - $this->_sections['foo']['start'] : $this->_sections['foo']['start']+1)/abs($this->_sections['foo']['step'])), $this->_sections['foo']['max']);
    if ($this->_sections['foo']['total'] == 0)
        $this->_sections['foo']['show'] = false;
} else
    $this->_sections['foo']['total'] = 0;
if ($this->_sections['foo']['show']):

            for ($this->_sections['foo']['index'] = $this->_sections['foo']['start'], $this->_sections['foo']['iteration'] = 1;
                 $this->_sections['foo']['iteration'] <= $this->_sections['foo']['total'];
                 $this->_sections['foo']['index'] += $this->_sections['foo']['step'], $this->_sections['foo']['iteration']++):
$this->_sections['foo']['rownum'] = $this->_sections['foo']['iteration'];
$this->_sections['foo']['index_prev'] = $this->_sections['foo']['index'] - $this->_sections['foo']['step'];
$this->_sections['foo']['index_next'] = $this->_sections['foo']['index'] + $this->_sections['foo']['step'];
$this->_sections['foo']['first']      = ($this->_sections['foo']['iteration'] == 1);
$this->_sections['foo']['last']       = ($this->_sections['foo']['iteration'] == $this->_sections['foo']['total']);
?>
          <option<?php if (((is_array($_tmp=$this->_tpl_vars['arrInfoMember']['dob'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%m") : smarty_modifier_date_format($_tmp, "%m")) == $this->_sections['foo']['index']): ?> selected="selected"<?php endif; ?> value="<?php echo $this->_sections['foo']['index']; ?>
">&nbsp;&nbsp;&nbsp;<?php echo $this->_sections['foo']['index']; ?>
</option>
        <?php endfor; endif; ?>  
      </select>
      
      <select name="year_dob" id="year_dob" class="select2010_95">
        <option value="0000"> -- Year -- </option>
        <?php unset($this->_sections['foo']);
$this->_sections['foo']['name'] = 'foo';
$this->_sections['foo']['start'] = (int)1940;
$this->_sections['foo']['loop'] = is_array($_loop=2010) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['foo']['step'] = ((int)1) == 0 ? 1 : (int)1;
$this->_sections['foo']['show'] = true;
$this->_sections['foo']['max'] = $this->_sections['foo']['loop'];
if ($this->_sections['foo']['start'] < 0)
    $this->_sections['foo']['start'] = max($this->_sections['foo']['step'] > 0 ? 0 : -1, $this->_sections['foo']['loop'] + $this->_sections['foo']['start']);
else
    $this->_sections['foo']['start'] = min($this->_sections['foo']['start'], $this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] : $this->_sections['foo']['loop']-1);
if ($this->_sections['foo']['show']) {
    $this->_sections['foo']['total'] = min(ceil(($this->_sections['foo']['step'] > 0 ? $this->_sections['foo']['loop'] - $this->_sections['foo']['start'] : $this->_sections['foo']['start']+1)/abs($this->_sections['foo']['step'])), $this->_sections['foo']['max']);
    if ($this->_sections['foo']['total'] == 0)
        $this->_sections['foo']['show'] = false;
} else
    $this->_sections['foo']['total'] = 0;
if ($this->_sections['foo']['show']):

            for ($this->_sections['foo']['index'] = $this->_sections['foo']['start'], $this->_sections['foo']['iteration'] = 1;
                 $this->_sections['foo']['iteration'] <= $this->_sections['foo']['total'];
                 $this->_sections['foo']['index'] += $this->_sections['foo']['step'], $this->_sections['foo']['iteration']++):
$this->_sections['foo']['rownum'] = $this->_sections['foo']['iteration'];
$this->_sections['foo']['index_prev'] = $this->_sections['foo']['index'] - $this->_sections['foo']['step'];
$this->_sections['foo']['index_next'] = $this->_sections['foo']['index'] + $this->_sections['foo']['step'];
$this->_sections['foo']['first']      = ($this->_sections['foo']['iteration'] == 1);
$this->_sections['foo']['last']       = ($this->_sections['foo']['iteration'] == $this->_sections['foo']['total']);
?>
          <option<?php if (((is_array($_tmp=$this->_tpl_vars['arrInfoMember']['dob'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y") : smarty_modifier_date_format($_tmp, "%Y")) == $this->_sections['foo']['index']): ?> selected="selected"<?php endif; ?> value="<?php echo $this->_sections['foo']['index']; ?>
">&nbsp;&nbsp;&nbsp;<?php echo $this->_sections['foo']['index']; ?>
</option>
        <?php endfor; endif; ?>  
      </select>
    </td>
  </tr>
  
  <tr>
  	<td align="right" style="vertical-align:top">Status:</td>
    <td align="left" style="vertical-align:top">
    	<select name="status" id="status">
      	<option value="1"<?php if ($this->_tpl_vars['arrInfoMember']['status'] == 1): ?> selected="selected"<?php endif; ?>>&nbsp;&nbsp;&nbsp;Yes</option>
        <option value="0"<?php if ($this->_tpl_vars['arrInfoMember']['status'] == 0): ?> selected="selected"<?php endif; ?>>&nbsp;&nbsp;&nbsp;No</option>
      </select>
    </td>
  </tr>
  
  <tr>
  	<td align="right" style="vertical-align:top">&nbsp;</td>
    <td align="left" style="vertical-align:top">
    	<input type="submit" name="btnSubmit" id="btnSubmit" value="Save" />
    </td>
  </tr>
</table>
</form>
<div>
	<a href="javascript:backListMember()">Back List Member</a>
</div>